#!/usr/bin/python

import pygame

class Map:

    def __init__(self):
        self.m_MaxX = 0
        self.m_tileList = {}
        self.m_MaxY = 0


    def addDor(self,pos):
        self.doorList.append(pos)

    def removeTile(self,pos):
        if(self.m_tileList.has_key(pos)):
            del self.m_tileList[pos]

    def setMaxX(self,x):
        self.m_MaxX = x

    def setMaxY(self,y):
        self.m_MaxY = y

    def addTile(self,pos,tile):
        self.m_tileList[pos] = tile

        
    def setStartPoint(self,startPos):
        self.startPos = startPos        

    def getTiles(self):
        return self.m_tileList

